home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Macintosh Demo Applications CD
/
Apple-MacintoshDemoApplicationsCD-1.0-1992.iso
/
More Information
/
Personal Press 2.0
/
PPPouch
/
Additions
/
Text Case
/
Case- lower
/
Case- lower
next >
Wrap
Text File
|
1992-06-08
|
756b
|
44 lines
on startup
global bailout
checkTextToolIsOn
if bailout = false then
domenu "Lower case"
end if
end startup
on checkTextToolIsOn
global bailout
trace on
put "true" into bailout
if toolmode <> "textTool" then
answer "The TextTool must be turned on."
else if currentStoryNumber() = "none" then
answer "Text must be selected in a story."
else if item 2 of textcursor = 0 then
answer "Text must be selected in a story."
else
put "false" into bailout
end if
end checkTextToolIsOn
on help
put dialog (preload, 128) into thedialog
put "---a\0" into item2
put "---a\1" into item3
put "---a\2" into item4
repeat forever
get dialog(display, thedialog)
if (it = 1) then exit repeat
end repeat
get dialog(dispose, thedialog)
end help